package com.doyens.service;

import com.doyens.pojo.Student;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;



public interface StudentService {
    /**
     * 查询学生表
     */

    PageInfo<Student> findAllStu(Integer pageNum);

    Student findById(Integer id);

    int delete(Integer id);

    int save(Student student);

    Integer update(Student student);
}
